<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
	<title>设备管理</title>
	<link rel="stylesheet" href="assets/css/bootstrap-datetimepicker.min.css"></link>
	<link rel="stylesheet" href="pages/huaao/machine/css/machine.css" type="text/css"></link>
	<script type="text/javascript" src="assets/js/bootstrap-datetimepicker.min.js"></script>
	<script type="text/javascript" src="assets/js/bootstrap-datetimepicker.zh-CN.js"></script>
	<script type="text/javascript" src="pages/huaao/machine/js/machine.js"></script>
</head>
<body>
	<div class="container-fluid">
		<ul class="nav nav-tabs">
			<li role="presentation" class="active">
				<a href="#machine-info" aria-controls="machine-info" role="tab" data-toggle="tab">设备信息管理</a>
			</li>
		</ul>
		<div class="tab-content">
			<div id="machine-info" role="tabpanel" class="tab-pane active">
				<div id="toolbar" class="toolbar">
					<button id="addMachine-btn" type="button" class="btn btn-default">
						<i class="glyphicon glyphicon-plus"></i>添加
					</button>
					<button id="delMachine-btn" type="button" class="btn btn-default">
						<i class="glyphicon glyphicon-remove"></i>删除
					</button>
				</div>
				<table id="machine-table"></table>
			</div>
		</div>
	</div>
	
	<div class="container-fluid hidden" style="margin-top: 10px;" id="machineDetail">
		<ul class="nav nav-tabs">
			<li role="presentation" class="active">
				<a href="#machine-base-info" aria-controls="machine-base-info" role="tab" data-toggle="tab">设备信息</a>
			</li>
			<li role="presentation">
				<a href="#machine-control-menu" aria-controls="machine-base-info" role="tab" data-toggle="tab">控制面板</a>
			</li>
		</ul>
		<div class="tab-content" style="min-height:450px;">
			<div id="machine-base-info" role="tabpanel" class="tab-pane active">
				<div class="row">
					<div class="col-xs-12 col-sm-12 col-md-12 text-right">
						<button type="button" class="btn btn-warning" id="reflush">刷新</button>
						<button type="button" class="btn btn-success" id="switch">开机</button>
					</div>
				</div>
				<div class="row" style="background-color: #F5F5F5;padding: 10px 0;">
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">设备编号：</label>
						<label id="mnum"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">设备别名1：</label>
						<label id="maname"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">设备别名2：</label>
						<label id="mcname"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">设备IP地址：</label>
						<label id="maddress"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">主管理员：</label>
						<label id="cid"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">管理员1：</label>
						<label id="cid1"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">管理员2：</label>
						<label id="cid2"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">管理员3：</label>
						<label id="cid3"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">创建时间：</label>
						<label id="mcreatetime"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">修改时间：</label>
						<label id="mmodifytime"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">最近一次心跳时间：</label>
						<label id="mhearttime"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">设备在线状态：</label>
						<label id="monlinestatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">开关状态：</label>
						<label id="mrunstatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">运行状态：</label>
						<label id="mruningstatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">仓料状态：</label>
						<label id="mbinstatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">炉膛状态：</label>
						<label id="mstovestatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">鼓风机状态：</label>
						<label id="mblowerstatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">引风机状态：</label>
						<label id="mwindstatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">水泵状态：</label>
						<label id="mpumpstatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">点火棒状态：</label>
						<label id="mfirestatus"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">水温：</label>
						<label id="mwatertemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">烟气温度：</label>
						<label id="msmoketemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">进水温度：</label>
						<label id="minletwatertemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">点火是否成功：</label>
						<label id="mfiresuccess"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">是否缺水：</label>
						<label id="moutofwater"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">料机档位：</label>
						<label id="mbinstall"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">关火温度（1-99）：</label>
						<label id="mturnofffiretemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">点火温度（1-99）：</label>
						<label id="mturnonfiretemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">烟气温度（1-99）：</label>
						<label id="mturnsmoketemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">开泵温度（1-99）：</label>
						<label id="mturnonpumptemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">停泵温度（1-99）：</label>
						<label id="mturnoffpumptemp"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">点火延时（10-250）秒：</label>
						<label id="mturnontimeout"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">点火预进料延时（10-100）秒：</label>
						<label id="mturnonprefeedtimeout"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">停鼓风机延时（1-15）分：</label>
						<label id="mturnoffblowertimeout"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">停引风机延时（1-15）分：</label>
						<label id="mturnoffwindtimeout"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第1时段：</label>
						<label id="mworktimeinterval1"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第2时段：</label>
						<label id="mworktimeinterval2"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第3时段：</label>
						<label id="mworktimeinterval3"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第4时段：</label>
						<label id="mworktimeinterval4"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第5时段：</label>
						<label id="mworktimeinterval5"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第6时段：</label>
						<label id="mworktimeinterval6"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第7时段：</label>
						<label id="mworktimeinterval7"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">第8时段：</label>
						<label id="mworktimeinterval8"></label>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<label class="base-info-label1">设备使用期限：</label>
						<label id="mdeadline"></label>
					</div>
				</div>
			</div>
			
			<div id="machine-control-menu" role="tabpanel" class="tab-pane">
				<div class="row">
					<div class="col-xs-12 col-sm-6 col-md-4" >
						<div style="background-color: #4CD964;" id="menu-binStall">
							料机档位设置
						</div>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4" id="menu-tempTimeout">
						<div style="background-color: #007AFF;">
							温度时间参数设置
						</div>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4" id="menu-timeInterval">
						<div style="background-color: #DD524D;">
							控制时间段设置
						</div>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4" id="menu-recoverSet">
						<div style="background-color: #6641E2;">
							恢复出厂设置
						</div>
					</div>
					<div class="col-xs-12 col-sm-6 col-md-4" id="menu-adminSet">
						<div style="background-color: #EC971F;">
							管理员设置
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<!-- machineinfo modal -->
	<div id="machineinfo-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
		<div class="modal-dialog modal-lg" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="myModalLabel">设备信息</h4>
				</div>
				<div class="modal-body">

					<form id="machineinfo-form" class="form-horizontal">

						<div class="form-group">
							<label for="machineNum" class="col-md-2 control-label">设备编号*</label>
							<div class="col-md-6">
								<input type="hidden" id="machineId" name="machineId" />
								<input type="text" class="form-control info-input" id="machineNum" name="machineNum" placeholder="请输入设备编号">
							</div>
							<label id="machineNum-label" class="col-md-4 info-label"></label>
						</div>
						<div class="form-group">
							<label for="machineAname" class="col-md-2 control-label">设备别名</label>
							<div class="col-md-6">
								<input type="text" class="form-control info-input" id="machineAname" name="machineAname" placeholder="请输入设备别名">
							</div>
							<label id="machineAname-label" class="col-md-4 info-label"></label>
						</div>
						<div class="form-group">
							<label for="customerId" class="col-md-2 control-label">主管理员</label>
							<div class="col-md-6">
								<input type="number" class="form-control info-input" maxlength="11" id="customerId" name="customerId" placeholder="请输入主管理员手机号">
							</div>
							<label id="customerId-label" class="col-md-4 info-label"></label>
						</div>
						<div class="form-group">
							<label for="customerId1" class="col-md-2 control-label">管理员</label>
							<div class="col-md-6">
								<input type="number" class="form-control info-input" maxlength="11" id="customerId1" name="customerId1" placeholder="请输入管理员手机号">
							</div>
							<label id="customerId1-label" class="col-md-4 info-label"></label>
						</div>
						<div class="form-group">
							<label for="customerId2" class="col-md-2 control-label">管理员</label>
							<div class="col-md-6">
								<input type="number" class="form-control info-input" maxlength="11" id="customerId2" name="customerId2" placeholder="请输入管理员手机号">
							</div>
							<label id="customerId2-label" class="col-md-4 info-label"></label>
						</div>
						<div class="form-group">
							<label for="customerId3" class="col-md-2 control-label">管理员</label>
							<div class="col-md-6">
								<input type="number" class="form-control info-input" maxlength="11" id="customerId3" name="customerId3" placeholder="请输入管理员手机号">
							</div>
							<label id="customerId3-label" class="col-md-4 info-label"></label>
						</div>
						
					</form>

				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button id="machineinfo-save-btn" type="button" class="btn btn-primary">保存</button>
				</div>
			</div>
		</div>
	</div>
	
	<!-- bin stall Modal -->
	<div class="modal fade" id="binStall-modal" tabindex="-1" role="dialog"
		aria-labelledby="binStallModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h3 class="modal-title" >料机档位</h3>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<div class="input-group col-md-8">
							<select class="form-control" id="binStall">
								<option value="0">请选择...</option>
								<option value="1">一段火</option>
								<option value="2">二段火</option>
								<option value="3">三段火</option>
							</select>
						</div>
						<label for="binStall" class="col-md-4" id="binStall-label"></label>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary" id="binStall-btn">确定</button>
				</div>
			</div>
		</div>
	</div>
	
	<!-- admin set Modal -->
	<div class="modal fade" id="adminSet-modal" tabindex="-1" role="dialog"
		aria-labelledby="adminSetModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h3 class="modal-title" >管理员设置</h3>
				</div>
				<div class="modal-body">
					<div class="form-group">
                		<label for="adminSetDate" class="col-md-2 control-label">有效日期</label>
		                <div class="input-group date form_date col-md-6" data-date-format="yyyy-mm-dd">
		                    <input class="form-control" maxlength="10" type="text" readonly id="adminSetDate" />
		                    <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
							<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
		                </div>
						<label for="adminSetDate" class="col-md-4" id="adminSet-label"></label>
		            </div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary" id="adminSet-btn">确定</button>
				</div>
			</div>
		</div>
	</div>
	
	<!-- time interval Modal -->
	<div class="modal fade" id="timeInterval-modal" tabindex="-1" role="dialog"
		aria-labelledby="timeIntervalModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h3 class="modal-title" >控制时间段设置</h3>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<div class="row">
	                		<label for="workTimeInterval1" class="col-md-3 control-label">第一时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval1-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval1-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			            <div class="row">
	                		<label for="workTimeInterval2" class="col-md-3 control-label">第二时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval2-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval2-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			            <div class="row">
	                		<label for="workTimeInterval3" class="col-md-3 control-label">第三时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval3-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval3-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			            <div class="row">
	                		<label for="workTimeInterval4" class="col-md-3 control-label">第四时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval4-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval4-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			            <div class="row">
	                		<label for="workTimeInterval5" class="col-md-3 control-label">第五时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval5-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval5-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			            <div class="row">
	                		<label for="workTimeInterval6" class="col-md-3 control-label">第六时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval6-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval6-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			            <div class="row">
	                		<label for="workTimeInterval7" class="col-md-3 control-label">第七时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval7-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval7-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			            <div class="row">
	                		<label for="workTimeInterval8" class="col-md-3 control-label">第八时段</label>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval8-1" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			                <div class="col-md-1 center">—</div>
			                <div class="input-group date form_time col-md-4" data-date="" data-date-format="hh:ii">
			                    <input class="form-control" maxlength="5" type="text" value="" id="workTimeInterval8-2" />
								<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
			                </div>
			            </div>
			    	</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary" id="timeInterval-btn">确定</button>
				</div>
			</div>
		</div>
	</div>
	
	
	<!-- temp timeout Modal -->
	<div class="modal fade" id="tempTimeout-modal" tabindex="-1" role="dialog"
		aria-labelledby="tempTimeoutModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h3 class="modal-title" >温度与时间参数设置</h3>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<div class="row">
							<label for="turnOffTemp" class="col-md-4 control-label">关火温度(1-99)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="2" type="number" id="turnOffTemp" />
			                </div>
							<label for="turnOffTemp" class="col-md-1" id="turnOffTemp-label">℃</label>
						</div>
						<div class="row">
							<label for="turnOnTemp" class="col-md-4 control-label">开火温度(1-99)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="2" type="number" id="turnOnTemp" />
			                </div>
							<label for="turnOnTemp" class="col-md-1" id="turnOnTemp-label">℃</label>
						</div>
						<div class="row">
							<label for="smokeTemp" class="col-md-4 control-label">烟气温度(1-99)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="2" type="number" id="smokeTemp" />
			                </div>
							<label for="smokeTemp" class="col-md-1" id="smokeTemp-label">℃</label>
						</div>
						<div class="row">
							<label for="turnOnPumpTemp" class="col-md-4 control-label">开泵温度(1-99)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="2" type="number" id="turnOnPumpTemp" />
			                </div>
							<label for="turnOnPumpTemp" class="col-md-1" id="turnOnPumpTemp-label">℃</label>
						</div>
						<div class="row">
							<label for="turnOffPumpTemp" class="col-md-4 control-label">停泵温度(1-99)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="2" type="number" id="turnOffPumpTemp" />
			                </div>
							<label for="turnOffPumpTemp" class="col-md-1" id="turnOffPumpTemp-label">℃</label>
						</div>
						<div class="row">
							<label for="turnOnTimeout" class="col-md-4 control-label">点火器延时(10-250)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="3" type="number" id="turnOnTimeout" />
			                </div>
							<label for="turnOnTimeout" class="col-md-1" id="turnOnTimeout-label">秒</label>
						</div>
						<div class="row">
							<label for="preFeedTimeout" class="col-md-4 control-label">点火预进料(10-100)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="3" type="number" id="preFeedTimeout" />
			                </div>
							<label for="preFeedTimeout" class="col-md-1" id="preFeedTimeout-label">秒</label>
						</div>
						<div class="row">
							<label for="turnoffBlowerTimeout" class="col-md-4 control-label">停鼓风机延时(1-15)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="2" type="number" id="turnoffBlowerTimeout" />
			                </div>
							<label for="turnoffBlowerTimeout" class="col-md-1" id="turnoffBlowerTimeout-label">分</label>
						</div>
						<div class="row">
							<label for="turnoffWindTimeout" class="col-md-4 control-label">停引风机延时(1-30)</label>
			                <div class="input-group col-md-7">
			                    <input class="form-control" maxlength="2" type="number" id="turnoffWindTimeout" />
			                </div>
							<label for="turnoffWindTimeout" class="col-md-1" id="turnoffWindTimeout-label">分</label>
						</div>
		            </div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary" id="tempTimeout-btn">确定</button>
				</div>
			</div>
		</div>
	</div>
	
	<!-- password Modal -->
	<div class="modal fade" id="password-modal" tabindex="-1" role="dialog"
		aria-labelledby="passwordModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h3 class="modal-title" >密码</h3>
				</div>
				<div class="modal-body">
					<div class="form-group">
						<div class="input-group col-md-8">
							<input type="password" class="form-control" id="actionPassword" placeholder="请输入密码">
						</div>
						<label for="actionPassword" class="col-md-4" id="actionPassword-label"></label>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary" id="actionPassword-btn">确定</button>
				</div>
			</div>
		</div>
	</div>
</body>
</html>